<template>
    <div>
        <div>
      <el-breadcrumb separator=">">
        <el-breadcrumb-item v-for="(item, index) in $route.meta" :key="index">
          <router-link :to="item.url" v-if="item.url">{{
            item.name
          }}</router-link>
          <a v-else>{{ item.name }}</a>
        </el-breadcrumb-item>
      </el-breadcrumb>
    </div>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style scoped lang="scss">
div{
    div{
        line-height: 30px;
    }
}
.el-breadcrumb__item /deep/ .el-breadcrumb__separator{
    margin: 0 2px;
}
</style>